[VoiceLive] Update for API version 2026-07-15#47982
Conversation
There was a problem hiding this comment.
Pull request overview
This PR regenerates the azure-ai-voicelive data-plane SDK for the GA API version 2026-07-15 and promotes the package from a beta (1.3.0b2) to a stable GA release (1.3.0). It bumps the default API version throughout the client, samples, and tests, marks the package Production/Stable, adds numeric duration serialization support to the generated runtime, renames the _types type-alias module to _unions, and removes several preview-only models/enums (WebRTC SDP negotiation, output-audio-buffer started/stopped events, and smart end-of-turn detection) that were dropped from the GA API surface.
Changes:
- Version/GA promotion:
_version.py→1.3.0, pyproject classifier → Production/Stable (+ Python 3.14), defaultapi_version→2026-07-15inaio/_patch.py,_metadata.json, samples, README, and live/unit tests. - API surface reduction: removes
SmartEndOfTurnDetection, RTC/WebRTC models & events, and output-audio-buffer started/stopped events from_models.py,_enums.py,models/__init__.py, andapiview-properties.json; migrates_types.Voice/ToolChoice/InterimResponseConfigreferences to a new_unions.py. - Runtime + changelog: adds numeric duration encoders/decoders to
serialization.pyandmodel_base.py; rewrites the1.3.0CHANGELOG section.
Reviewed changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/unit/test_unit_connection.py | Updates default/expected api-version assertions to 2026-07-15. |
| tests/live/*.py (7 files) | Parametrize live tests on 2026-07-15; minor formatting. |
| samples/README.md, samples/async_mcp_sample.py, samples/agent_v2_sample.py | Update sample docs/defaults to 2026-07-15. |
| pyproject.toml | Marks package Production/Stable, adds Python 3.14 classifier. |
| CHANGELOG.md | Rewrites 1.3.0 section — but lists removed classes as "Features Added" and misstates the previous default API version. |
| models/_models.py | Removes RTC/WebRTC, output-audio-buffer, and smart-EOU models; migrates _types → _unions; adds expires_at. |
| models/_enums.py | Removes RTC and output-audio-buffer enum values. |
| models/init.py, apiview-properties.json | Drops exports/metadata for removed models (breaks hand-written unit tests still importing them). |
| aio/_patch.py, _version.py, _metadata.json | Bump default api-version and package version to GA. |
| _unions.py | New type-alias module replacing _types.py. |
| _utils/serialization.py, _utils/model_base.py | Add numeric (seconds/milliseconds) duration serialize/deserialize helpers. |
|
/azp run python - azure-ai-voicelive - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
… removed preview features in CHANGELOG
Regenerate api.md/api.metadata.yml and bump CrossLanguageVersion to match the regenerated model. Add expires_at to 1.3.0 Features Added.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines